RM 1.2 Change main "Resources" navigation menu url

JacquiiDesigns

Formerly MsJacquiiC
#2
Hmmm. I *kinda* thought I'd be able to use a root filter. But can't seem to get it to work correctly.
Trying to make resources/ go to resources/categories/merchant-members.1/
Is it even possible??? Help! :confused:

J.
 

JacquiiDesigns

Formerly MsJacquiiC
#5
Thanks for responding @Mike
Might you have a suggestion of where ever to even start as for code changes? I'd have thought this would be rather simple actually. But seems it's easier said than done :(

J.
 

JacquiiDesigns

Formerly MsJacquiiC
#6
Perhaps there may even be a way to implement some sort of .htaccess redirect code to *only* target the main resources link...?
Maybe you'd have a suggestion as for any possible .htaccess code @Jake Bunce?

Thanks,

J.
 

Jake Bunce

XenForo moderator
Staff member
#7
Perhaps there may even be a way to implement some sort of .htaccess redirect code to *only* target the main resources link...?
Maybe you'd have a suggestion as for any possible .htaccess code @Jake Bunce?

Thanks,

J.
Add these rules to the top of the .htaccess file in your web root:

Code:
RewriteEngine On

RewriteRule ^resources/$ /resources/categories/categoryname.1/? [R=301,L]
 

JacquiiDesigns

Formerly MsJacquiiC
#8
AWESOME! That did it. Thanks @Jake Bunce
Where's the best place online to learn about writing .htaccess files?
I tried a few options and it didn't seem to work correctly; it seemed to redirect not only the main resources index page but other XFRM pages as well. And wow. It seems like there's a million and one pieces of advise on how to write correct .htaccess code - but only a handful of options (if you can even find them) that actually work correctly. Anyway - Thanks. Much appreciation.

J.
 
Top