I would like to clean up my site and create subdirectories to make it easier in the future as well as make the URL cleaner and more search friendly while I’m giving the entire site a facelift.
Question 1: if for example I make a subfolder called xxxx, would the file be saved as “index” so URL will look like www.domain.com/xxxx/ or do I need to name it so it would look like www.domain.com/xxxx/xxxx.html?
I have seen many professional businesses use this method – I think that’s what they do. When I search their pages, not one page returns a .html or .php extension, just the subdirectories i.e. www.domain/xxxx/xxx/xx, there is no actual page name such as www.domain/xx.php. When I enter index.html or index.php after the subdirectory, the result returns a true i.e. www.domain/xxxx/xxx/xx/index.php isn’t returning an error page instead, it returns www.domain/xxxx/xxx/xx hence my prior assumption.
Question 2: by creating subdirectories in this fashion, does having index files for each subfolder reduce ranking or confuse SEs? The subdirectories will be keywords themselves as well as having regular pages in each sub with an html or php extension.
I realize that I will need to create 301 redirects on the .htaccess file for all the old pages to the new ones.
Thank you,
Question 1: if for example I make a subfolder called xxxx, would the file be saved as “index” so URL will look like www.domain.com/xxxx/ or do I need to name it so it would look like www.domain.com/xxxx/xxxx.html?
I have seen many professional businesses use this method – I think that’s what they do. When I search their pages, not one page returns a .html or .php extension, just the subdirectories i.e. www.domain/xxxx/xxx/xx, there is no actual page name such as www.domain/xx.php. When I enter index.html or index.php after the subdirectory, the result returns a true i.e. www.domain/xxxx/xxx/xx/index.php isn’t returning an error page instead, it returns www.domain/xxxx/xxx/xx hence my prior assumption.
Question 2: by creating subdirectories in this fashion, does having index files for each subfolder reduce ranking or confuse SEs? The subdirectories will be keywords themselves as well as having regular pages in each sub with an html or php extension.
I realize that I will need to create 301 redirects on the .htaccess file for all the old pages to the new ones.
Thank you,
Comment