Results 1 to 10 of 13
-
24th Oct 2010, 06:41 PM #1OPMember
DLE rewrite / .htaccess issue
I don't like ending my URLs in .html. I prefer to end my URLs with a forward slash /. Can anyone help me to do this in .htaccess?
ThanksMixloads31 Reviewed by Mixloads31 on . DLE rewrite / .htaccess issue I don't like ending my URLs in .html. I prefer to end my URLs with a forward slash /. Can anyone help me to do this in .htaccess? Thanks Rating: 5
-
24th Oct 2010, 06:46 PM #2Banned
yes i think remove from your htacess to .html and set to /
-
24th Oct 2010, 07:37 PM #3OPMember
OK, that did work however. I'm sure i need to edit something in a php file because wen i manually go to a url it works file but DLE still add the .html to the end of the topics.
Help!!!
-
24th Oct 2010, 07:41 PM #4Banned
Check this
Removing file extension via .htaccess
http://eisabainyo.net/weblog/2007/08...-via-htaccess/
-
24th Oct 2010, 07:48 PM #5OPMember
Ive already done this. The thing is ....... This option in DLE:
SEO type used:
Type 1 ...... http://www.yoursite.com/id-article_name.html
Type 2 ...... http://www.yoursite.com/category/sub...icle_name.html
Type 3 ...... http://www.yoursite.com/2008/04/02/article_name.html
When i choose Type 1 it automatically add the .html extension. I'm wondering how do u edit "Type1" so it wont add the .html extension?
Thanks
-
24th Oct 2010, 07:52 PM #6MemberWebsite's:
zfvu.comIstead of .html add \/$ to the end of the new .htaccess URL where you want it .
-
24th Oct 2010, 08:29 PM #7OPMember
i don't think yall understanding me! I've already done this. the urls do change when i enter it manually. however it doesn't automatically add it to the template.
-
24th Oct 2010, 08:43 PM #8MemberWebsite's:
zfvu.comOfcourse it doesn't use .htaccess if you don't change your urls in .php files too. Change em where you need it .
-
24th Oct 2010, 11:36 PM #9OPMember
lol, why are u saying stuff i already acknowledged in the first couple post. Do you know which files yes or no?
-
24th Oct 2010, 11:57 PM #10MemberWebsite's:
tufos.netDude, if you want to change DLE URL structure.. you must be ready to modify ALL DLE FILES, I said ALL DLE FILES, one by one... There is no point .html or / in the end is the same thing, both means static content.
Don't think there is a easier way to do it, there isn't.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to rewrite/redirect a folder name with .htaccess
By GBot in forum Whitehat SEOReplies: 0Last Post: 14th Dec 2013, 07:16 AM -
[WCDDL] Mod Rewrite Help
By DEViANCE in forum Web Application/Script SupportReplies: 1Last Post: 28th Jun 2011, 04:28 PM -
Rewrite URL with htaccess?
By pi0tr3k in forum phpBBReplies: 2Last Post: 20th Sep 2010, 10:36 PM -
.htaccess rewrite
By Golden Falcon in forum IP.BoardReplies: 0Last Post: 25th Jan 2010, 06:14 AM -
Mod Rewrite Friendly URLs => .htaccess
By kamrul in forum vBulletinReplies: 4Last Post: 25th Dec 2009, 09:37 PM
themaPoster - post to forums and...
Version 5.22 released. Open older version (or...