homepage Welcome to WebmasterWorld Guest from 107.22.70.215
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Marketing and Biz Dev / General Search Engine Marketing Issues
Forum Library, Charter, Moderators: mademetop

General Search Engine Marketing Issues Forum

    
Going from index.html --> index.php (with parameters)
Will the changes I'm making to a high ranking folder of my site hurt me?
floridadesigns




msg:4225818
 8:23 am on Nov 3, 2010 (gmt 0)

Okay, so I have a somewhat high ranking folder on my site. (my main page is PR5, and this directory is also PR5). Both the root, and the sub directory do well independently of each other. (for different keywords).

For all purposes, this directory only has one HTML file, the index.html file... all other sub pages are no followed.

Now I plan on first changing the index.html file to an index.php. Eventually with 2 parameters. If no parameters are entered, the index.php will load the EXACT same content as before with the index.html.

If however the two parameters are added to the url, then the page will modify the (no-followed) links to pass on those parameters for the other pages.

My concerns are:

1. Will the change hurt me simply because of the switch from .html to .php, even if the content located at www.xyz.com/widget is exactly the same.

2. If I do implement this, I will be getting a decent amount of links coming into the site, except those links will be of the form: "www.xyz.com/widget/index.php?name=NAME&url=http://URL.com". So would links coming into these longer URLs be beneficial for the /widgets/ folder itself, or would all the benefit be bestowed upon the longer URL with the parameters?


I was really hoping to get some benefits from the links coming in on case #2, so if the root of /widgets/ doesn't get the benefits, is there any way to change that?


I know it's a bit of an odd question, but I just wasn't sure how something like this might work. Thank you for any direction you might be able to give me.

 

phranque




msg:4226605
 2:43 pm on Nov 4, 2010 (gmt 0)

first, the index.php should be configured as the default index directory document and left out of the url.

so these urls:
http://www.example.com/widget/index.html
http://www.example.com/widget/index.php
should be redirected to:
http://www.example.com/widget/
this url should be displaying the content assuming the default values for the "name" and "url" parameters.

if the changing values for the "name" and "url" parameters change the content displayed, these pages should be served and indexed at the canonical url for that content in the form of:
http://www.example.com/widget/?name=NAME&url=http%3A%2F%2FURL.com
where all "reserved characters" in the url not used for their reserved purposes are url-encoded.

all non-canonical urls should be redirected with a 301 status code to the canonical url including:
- non-www
- missing trailing slash after "widget" directory
- default directory index document appears in the url path
- default parameter values
- parameters in non-canonical order

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Marketing and Biz Dev / General Search Engine Marketing Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved