Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I create a page without the html extension?
#1
The URL slug doesn't include .html so how do I create a page that will work without .html.

example:
hrcts.com/mobile
hrcts.com/shopfsa
instead of hrcts.com/shopfsa.html
Reply
#2
(2013-09-18, 04:50:57)greg@hrcts.com Wrote: The URL slug doesn't include .html so how do I create a page that will work without .html.

in "settings" define the "Custom Permalink Structure" like this:

Code:
%parent%/%slug%

does it help?
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
I only want to remove the .html from 1 or 2 pages, the rest should continue to have the extension. What happens when I make this change to the settings?

thanks
Reply
#4
my suggestion will change ALL these pages

if you want to change the extension / delete the extension from some pages you can do this with rewrite-statements in the file .htaccess

there are some online-htaccess-generators in the web, where you can create the necessary statements, which you have to enter in the .htaccess-file
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply




Users browsing this thread: 1 Guest(s)