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
-
How do I redirect SEO from pages on old website to new website with new domain name?
How do I redirect SEO from pages on old website to new website with new domain name? My website in squarespace has good rankings and we have rebranded to a new name and enw domain name, how do I move across the rankings fomr the old site in squarespace to my new site thats in wordpress please?
On-Page Optimization | | Carrotpower0 -
Duplicate page content
Hi Crawl errors is showing 2 pages of duplicate content for my clients WordPress site: /news/ & /category/featured/ Yoast is installed so how best to resolve this ? i see that both pages are canonicalised to themselves so presume just need to change the canonical tag on /category/featured/ to reference /news/ ?(since news is the page with higher authority and the main page for showing this info) or is there other way in Yoast or WP to deal with this & prevent from happening again ? Cheers Dan
On-Page Optimization | | Dan-Lawrence0 -
Duplicate Home Page
Hi, I have a question around best practise on duplicate home pages. The /index.aspx page is showing up as a top referrer in my analytics. I have the rel=canonical tag implemented for the www.mysite.com on both pages. Do I need to 301 the /index.aspx to the mysite.com? I have a lot of links pointing to the /index.aspx (half of those are coming from the mysite.com). www.mysite.com/index.aspx www.mysite.com Many thanks Jon
On-Page Optimization | | JonRaubenheimer0 -
On-page SEO optimization
hi there! Is it possible not to be in the first 20 or 30 positions in the SERPs after executing onpage SEO actions (keyword optimization, metatags, ....) even for keywords for which there's not "too much" competition? Is there a way of visualize the pages indexed by the google bot? (the pages especifically, not the number) in order to discard indexing problems? Thank you!
On-Page Optimization | | juanmiguelcr1 -
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 -
Page title
So if we have a main category page on our site (mines an ecommerce site), do we go for more than that main keyword phrase for that category of products, or is it better to just keep it by itself, and not utilize the 65-70 characters available?
On-Page Optimization | | azguy0 -
Keyword Landing Page Transition
We are redesigning the site to launch soon. We are a manufacturer. Our most valuable keyword currently ranks around 8th on Google in a competitive market and responds with a link to our product selection page as the landing URL. This link / URL is currently listed on every site page in a right column menu with the keyword as the anchor text. My concern is that I have redesigned this product selection page, and would like to change its file name to include the keyword as well as use the same keyword anchor text. And to complicate the matter, for political reasons my boss has asked me to consider keeping the old product page available to alleviate board concern (not rational, but may be required). Since the old page shows similar information to the new selection page, if I keep it, I am considering calling it a "Visual Selector" as opposed to the "Product Selector" menu name for the new page. I will list both in a list under the keyword product name on the home page menu and then drop the old selector page link on all other pages to lower visitor confusion. So the alternative choices to proceed are as follows: 1. Keep old and new product selection pages a. Show both on all page menus (Keeps the old page visible to Google, duplicating the current presentation for current keyword landing page) b. Only show old product page on home page menu to alleviate the Board concerns (Keeps the old page visible to Google, but with one link) 2. Get rid of the old product page and redirect URL to new one (our primary keyword would be ranked on its own merit and the current Google ranked page would redirect to the new one) Number 2 is the logical method for users, but I am nervous about dropping and/or redirecting the current landing page which ranks my best keyword at 8th in a competitive market. Your recommendations or comments? What do you predict Google will do in these three scenarios? Hope you can follow this maze... Thanks! George
On-Page Optimization | | rhawk0