Go Back   Site Owners Forums - Webmaster Forums > Search Engine Optimization > Search Engine Optimization

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 02-12-2015, 05:23 AM   #1
strawberrybob
Registered User
 
Join Date: Nov 2014
Location: Australia
Posts: 40
How to remove .html extension from URL?

Hello everyone,

I am doing on page SEO for one of my clients. All URLs are having .html extension at the end and I tried to omit that from .htaccess file

Here is the code:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]

But it's not working. What to do?
strawberrybob is offline   Reply With Quote

Old 02-13-2015, 03:39 AM   #2
amdtreypt
Registered User
 
Join Date: Jan 2015
Location: delhi
Posts: 27
you can revome .html extension by use of .htacsess file.

picnic spots in gurgaon | day outing near delhi
amdtreypt is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple way to remove empty paragraph tags in wordpress website posts arronmattwills Graphic Design 0 02-24-2014 09:02 PM
Easy FAQ Extension by MageWorld Christinetran91 General Discussion 0 02-11-2014 06:49 PM
magento extension davehopper General Discussion 0 12-02-2013 04:39 AM
How to remove unexpected URLs from Google index result tim wallace Search Engine Optimization 19 03-08-2013 03:42 AM
How do I remove bad backlinks? smileboy Search Engine Optimization 4 03-04-2012 11:40 PM


All times are GMT -7. The time now is 06:54 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.