Results 1 to 10 of 20
-
19th Feb 2012, 09:54 AM #1OPMemberWebsite's:
3DS-Scene.netNeed Help With .htaccess
Hey guys
I've recently hacked massively 4Images Photo Gallery and I've added a SEO Mod but my URLs are not the way I want them.
Can anybody help?
Currently my URLs are >>Code:http://coverplanet.in/covers/cat-corpset---ruins-(2011)-672.htm
Code:http://coverplanet.in/covers/corpset-ruins-2011-672.htm
Thankscyb3r Reviewed by cyb3r on . Need Help With .htaccess Hey guys I've recently hacked massively 4Images Photo Gallery and I've added a SEO Mod but my URLs are not the way I want them. Can anybody help? Currently my URLs are >> http://coverplanet.in/covers/cat-corpset---ruins-(2011)-672.htm I want them to be >> http://coverplanet.in/covers/corpset-ruins-2011-672.htm Rating: 5
-
19th Feb 2012, 09:56 AM #2MemberWebsite's:
iFunMaza.comcode your links
hard to read!!
-
19th Feb 2012, 09:56 AM #3Member
Sorry, KWWHunction rules urge members not to talk about anything related to hacking!
-
19th Feb 2012, 10:03 AM #4OPMemberWebsite's:
3DS-Scene.netWhat I mean by hacking is changing parts of the main code of the script to make it do what I want it to do
-
19th Feb 2012, 10:05 AM #5Member
Oh, sorry then i misunderstood the way you used the 'hacking' word, well first of all post your currect changes you did to the .httaccess also use [code] tags while posting the file.
-
19th Feb 2012, 10:11 AM #6Banned
cat-corpset---ruins
Is the album name when viewed in text
cat<space>corpset<space><space>ruins
-
19th Feb 2012, 10:11 AM #7OPMemberWebsite's:
3DS-Scene.netThats cool, ok here is the contents of the .htaccess file
Code:RewriteEngine On #RewriteBase / RewriteRule ^cat(.*)-([0-9]+)\.htm$ categories.php?cat_id=$2&%{QUERY_STRING} RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING} #Mod_bmollet : Image name in URL RewriteRule ^img-(.*)-([0-9]+)\.htm$ details.php?image_id=$2&%{QUERY_STRING} RewriteRule ^img([0-9]+)\.search.htm$ details.php?image_id=$1&%{QUERY_STRING} RewriteRule ^img([0-9]+)\.lightbox.htm$ details.php?image_id=$1&%{QUERY_STRING} #Mod_bmollet : This is to make search function work ( redirect links from search results ) RewriteRule ^search\.htm$ search.php?%{QUERY_STRING} RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING} RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING} RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING}
Code:RewriteRule ^cat(.*)-([0-9]+)\.htm$ categories.php?cat_id=$2&%{QUERY_STRING} RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}
-
19th Feb 2012, 10:13 AM #8Member
If you want to change URLs like http://mysite.com/article.php?id=45 to http://mysite.com/article-45.html, here’s how:
Code:RewriteEngine On RewriteRule ^article-([0-9]+)\.html$ article.php?id=$1
• The backslash here “escapes” the dot, so that the dot means a real dot instead of “anything”.
Taking a look closer at your .httaccess file it looks like it is properly setup..
-
19th Feb 2012, 10:16 AM #9Banned
-
19th Feb 2012, 10:16 AM #10MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comyou should check the function that generate the seo links then check the htaccess
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Vb Seo .htaccess Help
By sunnyx12x21x in forum vBulletinReplies: 9Last Post: 17th Jul 2011, 11:25 AM -
help with htaccess
By softleaks in forum Webmaster DiscussionReplies: 2Last Post: 3rd Jun 2011, 06:43 PM -
.htaccess Help Please
By l0calh0st in forum Web Development AreaReplies: 3Last Post: 4th Apr 2011, 03:29 PM -
Help with .htaccess
By woja in forum vBulletinReplies: 1Last Post: 25th Jan 2011, 11:11 PM -
.htaccess help
By Nemesis in forum Webmaster DiscussionReplies: 1Last Post: 21st Mar 2010, 07:13 PM
themaCreator - create posts from...
Version 3.52 released. Open older version (or...