Reply
PHP and SEO
Old 08-17-2007, 12:18 PM PHP and SEO
Novice Talker

Posts: 5
Hello -

I'm working on a 'gallery' script, and I found a way that might make things a little easier for me and the client I'm working for.

Basically, I set up the .htaccess file to use anything before .html as a variable, which I'll then use to pull records from a db.

Example: user goes to mysite.com/family_movies.html

The script passes you to gallery.php, and makes variables of family and movies. The page then shows you records which are movies related to family. I'm also going to have meta info pulled from the db.

Basically this would make things easy on the client, because to 'create' new pages all they have to do is link to them (eg. vacation_photos.html, birthday_movies.html etc)

My 1st Question: (possibly followed by others)
- Will this method allow me to submit URLs to search engines? The pages aren't really 'on the server', but it will show you what you want based on whatever is entered before the .html

Thanks for any insight!
braintoss_com is offline
Reply With Quote
View Public Profile Visit braintoss_com's homepage!
 
When You Register, These Ads Go Away!
Old 08-17-2007, 12:23 PM Re: PHP and SEO
JamieLewis's Avatar
Pretty Much a Big Deal...

Latest Blog Post:
Gooie
Posts: 386
Name: Jamie Lewis
Location: UK
There is a nice myth that goes that search engines don't like dynamic urls, while this is true in some contexts it is changing for the better all the time. What you are doing is telling the server to treat dynamic urls as static and so a search engine would see many static pages and crawl through them fine, because of the way most speculate the algorithm to work your pages will be considered more important than if they were using the dynamic urls.

In short: Yes

Jamie
JamieLewis is offline
Reply With Quote
View Public Profile Visit JamieLewis's homepage!
 
Old 08-17-2007, 07:09 PM Re: PHP and SEO
chrishirst's Avatar
Super Moderator

Posts: 15,262
Location: Blackpool. UK
There is never a need to "submit" to search engines with any kind of URL, they will find your site from links to your pages
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-17-2007, 08:16 PM Re: PHP and SEO
blackfalcon's Avatar
Skilled Talker

Latest Blog Post:
Laconica Web-Based Installer
Posts: 59
Name: JuanJose H. Galvez
I definately agree with Jamie on this one. In the eyes of the crawler they are receiving a valid response with content from your server, to them the page exists. However the programming handles it doesn't really matter, if you have content going back to the spider you are fine.

Of course you still want to avoid duplicate content, such as your example family movies; would movies family return the same content? If you can avoid doing things like that, all the better!

Last edited by blackfalcon : 08-17-2007 at 08:18 PM. Reason: Little More Info
blackfalcon is offline
Reply With Quote
View Public Profile Visit blackfalcon's homepage!
 
Old 08-18-2007, 01:13 AM Re: PHP and SEO
vangogh's Avatar
Post Impressionist

Posts: 8,935
Name: Steven Bradley
Location: Boulder, Colorado
braintoss there's a pretty good book called Professional Search Engine Optimization with PHP that came out a couple of months ago.

It's worth the read and talks a lot about rewriting dynamic URLs with .htaccess. I think there are better was to do what you want, though it may not make things as simple for your clients.

One thing to remember though about clients is that the more you make things easier for them to update the less likely the pages will be optimized for search engines. There's a balance and you'll have to decide which is more important.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to PHP and SEO
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13341 seconds with 12 queries