Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #205 (new improvement)

Opened 6 years ago

Last modified 6 years ago

How Can I create a static HTML page?

Reported by: JianZhan Owned by:
Priority: minor Milestone: 2.4
Component: file browser Version:
Keywords: Cc:

Description

Hi Sir,

How Can I create a static HTML page?

Like I will use tag: flower to create a static html page.

I want Google to search my website.

By the way, I have suggestion: mailing list should at your website not at http://sourceforge.net/

Let all people go to your forum to discuss any question.

Keep one place and simple.

Thanks

Jian Zhan

Change History

comment:1 Changed 6 years ago by sebastian

Could you explain in detail how you would like to create a static html page and what is your need?

A page of phtagr is built dynamically on the server for almost any url of the gallery. So google can crawl each page and there is no need to create a static html page. (or I do not get the point)

comment:2 Changed 6 years ago by JianZhan

It's great for Google can crawl any url!!!

Okay, my question is actually: is there a way to make a page of search results to be linkable? Like how usually it is done with query strings. For example on this site I'm working on,
http://lavaink.com/lavagallery22/explorer/view
if I search by a tag, e.g. Scan Motor, is it possible to get a distinct url for the resulting page? detail at http://lavaink.com/lavagallery22/explorer/view/any:scan%20motor
and also the above url can been crawled by Google?

Thanks
Jian Zhan

comment:3 Changed 6 years ago by sebastian

If a web search engine like google crawls a site it follows every link it can find. And if google crawls your gallery at http://lavaink.com/lavagallery22 it will find the explorer and than it will find images with tag "Scan Motor" and than it will crawl your page of http://lavaink.com/lavagallery22/explorer/view/any:scan%20motor. There is not specific need to save such url.

But I guess I still do not get your point. For what purpose are you need the specific url?

Side topics: To be honest - I think that all the links will produce to much redundant traffic from search engine. I would reduce such link for web crawlers since it does not make a difference for the result page is you search tag1 + tag2 or tag2 + tag1 - but they are 2 request from search engines...

Further, it is more important to improve the result by meta html-tag for SEO. But this is another story.

comment:4 Changed 6 years ago by JianZhan

Thanks, I needed this type of url so I can point to list of all items of a category by linking the url. This can be used to sort commonly used items and maybe have that link placed as a menu button on the main website. For example the commercial site I'm working on can use this to list items by a specific printer model
http://www.lavaink.com/

Regarding SEO, how would I go about adding meta tags into the pages?

Thanks

Jian Zhan

comment:5 Changed 6 years ago by sebastian

If you would like to change anything in phtagr, I recommend you to read the doc of CakePHP, the MVC framework which is used: http://book.cakephp.org.

E.g http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#HtmlHelper::meta and http://book.cakephp.org/2.0/en/views.html#layouts for meta tag for the HTML header.

Note: See TracTickets for help on using tickets.