Reply to Re: Include Content pages in Master page

Your name:

Reply:


Posted by Arjen on 01/14/07 22:42

McKirahan schreef:
> "Arjen" <dont@mail.me> wrote in message
> news:45a92b5e$0$67354$dbd4f001@news.wanadoo.nl...
>>> I presumed wrong about the ability of search engines to index the site;
>>> thanks for correcting me.
>>>
>>> Not sure what you mean by "duplicate content"?
>> In your example every non existent QS would be the same as your default
>> page. So you have multiple occurences of your default page. You would
>> have to set a 301 header for those pages. Some search engines give you a
>> penalty for duplicate content.
>>
>> >
>> > Also, I'll have to study PHP some more to understand your dynamic
> url...
>> What exactly dont you understand ? I'd be happy to explain :-)
>
> I don't understand this suggestion:
>
>> or something more dynamic
>> /page_(.+).php /index.php?QS=$1 [NC]
>
This is not PHP ... I should have been clearer. This is syntax for
apache's mod rewrite.
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

It means rewrite pages like this:
/page_1.php ->index.php?qs=1
/page_2.php ->index.php?qs=2
/page_look-im-a-bird.php ->index.php?qs=look-im-a-bird
etc

This is a more friendly way of showing dynamic pages

--
Arjen
http://www.hondenpage.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация