Apache Rewrite to remove page name extensions
-
If I use Apache Rewrite to remove my file extensions from my pages will Google view those pages as new? Do I have to also 301 redirect from the "page-name.htm" to "page-name"?
I'd like to change my pages from html to php to make my life a little easier but I'm worried about losing link juice if I were to 301 on every page.
Thanks
-Brandon
-
Great!
Thanks, I may take you up on that!
-Brandon
-
Sounds good to me, but I prefer page names without extension.
You won't need 301 then, since you will keep old URLs and there won't be that short period of time when Google might possible see "duplicate" pages.
If you need help with Apache configuration let me know.
Kind regards
Bojan
-
Hi Bojan,
One thought I had was to create new php pages, keeping the same page name but using Apache to Rewrite the php to htm.
Any thoughts on this as an option?
-Brandon
-
Hi,
As stated here
http://www.seomoz.org/learn-seo/redirection
Using 301 redirect will preserve over 90% of your link juice. Give Google some time and it should pick up new page locations depending on your crawl rate.
As for seeing pages as new content, based on my short experience there is a period where Google will display new urls as new pages, but after a while he will realize that they have just moved. I'm not sure if there is a way to avoid this.
Kind regards
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Building a new page: What on-page SEO would you build in?
Hi all, Building a new page for a fairly competitive keyword. Need to make sure the on-page SEO is pretty top notch, because link building (including internal links) will be difficult. I've optimised the meta description, the alt tags and image names, and included the keyword in the Title Tags. Not a great deal I can do with regards to optimising for mobile or considering migrating to the AMP project because this is handled externally. What else would you suggest? Cheers in advance, Rhys
On-Page Optimization | | SwanseaMedicine1 -
Renamed a page and created a 301, page lost its rankings.
We changed a page name to fall under the root of our site from domain.com/page1/page301d/ to domain.com/page301d/ and after 2 weeks it still is not back to its #3 position. Now it is on the bottom of page 3. I cant figure out what im doing wrong here. The original .com/page1/ that this page fell under was removed totally and redirected to antoher page that was more relevant. I went ahead and re-enabled this page and its contnent, because the page was linking out to the page we 301d. This page we re-enabled had about 150 links poitning to it and therefore i was thinking that maybe the link juice from this page (or relevancy) via an internal link was helping it rank. This was updated about 6 days ago and the internal link is back Any other ideas why this might not be working. Ive checked all the 301s, content has not changed on the page. We have updated the strcuture for many pages. Instead of having the pages in question fall under anotehr page, they all fall under the root and its sub content is now only 2 levels deep , instead of being 3. hope that makese sense.
On-Page Optimization | | waqid0 -
Should I remove 'local' landing pages? Could these be the cause of traffic drop (duplicate content)?
I have a site that has most of it's traffic from reasonably competitive keywords each with their own landing page. In order to gain more traffic I also created landing pages for counties in the UK and then towns within each county. Each county has around 12 towns landing pages within the county. This has meant I've added around 200 extra pages to my site in order to try and generate more traffic from long tail keywords. I think this may have caused an issue in that it's impossible for me to create unique content for each town/country and therefore I took a 'shortcut' buy creating unique content for each county and used the same content for the towns within it meaning I have lots of pages with the same content just slightly different page titles with a variation on town name. I've duplicated this over about 15 counties meaning I have around 200 pages with only about 15 actual unique pages within them. I think this may actually be harming my site. These pages have been indexed for about a year an I noticed about 6 months ago a drop in traffic by about 50%. Having looked at my analytics this town and county pages actually only account for about 10% of traffic. My question is should I remove these pages and by doing so should I expect an increase in traffic again?
On-Page Optimization | | SamCUK0 -
If I put 'keyword/url' combination to 'stop run weekly', will it dissapear from the summary page in the on-page grader?
The summary page of the on-page grader chooses the keyword and url combination itself. Now if I choose another combination, I would like the former to dissapear from the summary page. The only option is 'stop running weekly'. But will it disappear from the list also?
On-Page Optimization | | jongeneelbv0 -
How to improve On-Page Grades for Top Ranking Pages
please help me - i dont know or understand how to improve on-Page Grades for Top Ranking Pages
On-Page Optimization | | pwwukpw0 -
Duplicate Page Title
Not sure how to fix this. I am getting a duplicate page title for my main url, and the index page. I have attached an image. Thanks. 0RnG6.jpg
On-Page Optimization | | pixel830 -
Hyphens in Domain Name
I have a client who is a business broker. I have just begun working with them, and they are trying to determine the best domain name to use - they have several. business-broker-alabama.com vs businessbrokeralabama.com Which one of these has more value? I know that search engines have somewhat devalued keywords. The first one probably has a little more SEO value, but is going to be a drag in terms of marketing -- saying "business hyphen broker hyphen alabama" is going to get old for them. Thanks!
On-Page Optimization | | csmithal0 -
Https and secure pages
Hello, I have a facebook badge in my footer. Is it okay if I make the code call on https. It makes the page secure for IE. I have also have done this for images. These secure urls are also being called on non secure pages. But I don't think that matters does it? Code below. Thanks Tyler
On-Page Optimization | | tylerfraser0