Forum Moderators: open

Message Too Old, No Replies

Clean dynamic URL (uri) without mod-rewrite, Which example is better?

Specific question about url and possible drawbacks

         

Kurgano

8:12 pm on Jan 27, 2007 (gmt 0)

10+ Year Member



I manage a website that is php based and almost entirely dynamicly created. Its not a spam site, it's got great original content.

the individual page url's look like this.
http://www.example.com/index.php?p=21

of course I want to improve upon that but I do not have .htaccess available for this site. My options are these.

#1) http://www.example.com/index.php/blue-widget-design
#2) http://www.example.com/index.php/blue-widget-design/
#3) http://www.example.com/index.php/blue-widget-design.html

With all three options I'm concerned about having a trailing slash AFTER the .php, will that be a problem for search engine results?

With option #1 I'm concerned about not having an ending after the word "design".

With option #2 I'm concerned about not having anything after the last trailing slash.

With option #3 I'm concerned about the double endings (.php AND .html in one url)

Which of these 3 options, if any, would be an improvement over the current url? I need to figure this one out quickly before anyone links to any content.

[edited by: tedster at 8:42 pm (utc) on Jan. 27, 2007]
[edit reason] use example.com [/edit]

agerhart

5:36 pm on Jan 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



the individual page url's look like this.
http://www.example.com/index.php?p=21

To be clear, there is nothing wrong with these URLs. They will be indexed and they have just as much ability to rank well in the search engines if all of the other on-page and off-page factors are executed properly.

With option #1 I'm concerned about not having an ending after the word "design".

With option #2 I'm concerned about not having anything after the last trailing slash.

With option #3 I'm concerned about the double endings (.php AND .html in one url)

What you're referring to is "url canonicalization". You can read up on it here. [mattcutts.com] The SEs are getting good at determining the URL to display when there are no redirects from /directory/ to /directory/index.html or vice versa.

Regarding the double ending, I answered this question over here [webmasterworld.com].

Which of these 3 options, if any, would be an improvement over the current url?

I would probably stick with the current structure you have unless you can rework the URLs into a fourth option.