Irritating permalink issue

Holykruelty

Junior Member
Joined
Jan 29, 2014
Messages
190
Reaction score
56
So I had a theme created but the developer took the lazy way out and had it rely heavily on a plugin.

The plugin in question is changing my url.

I have set my permalink setting to:

Site.com/%postname%.

The plugin is making my url like this:

Site.com/example/%postname%/

I've tried editing the .ht access as well but it still doesn't work. The /example/ doesn't exist if you visit the directory.

//301 Redirect Entire Directory
RedirectMatch 301 /example/(.*) //$1

What am I doing wrong? I like pretty urls lol.
 
I think you should use the URL where this file will locate into, insert it after Redirect code like

Code:
RedirectMatch 301 /example/(.*) http://Site.com/$1

Because, redirect condition must use URL to perform redirect.

Also check your theme for the reason why "example/" comes after your site's name.
 
I think you should use the URL where this file will locate into, insert it after Redirect code like

Code:
RedirectMatch 301 /example/(.*) http://Site.com/$1

Because, redirect condition must use URL to perform redirect.

Also check your theme for the reason why "example/" comes after your site's name.

Yeah, I know. I was using that as a quick example instead of typing my whole .ht file. I can find mentions of it in the theme but editing or deleting them do not work.

RewriteEngine On
RewriteRule ^\./$ /example/ [L]

doesnt work either
 
If it s a premium theme it usually has a support contact form or a forum to contact developers. That example tag also makes me think it s something you should be able to change within the theme settings..
 
What is the name of the plugin causing the problem?
 
If it s a premium theme it usually has a support contact form or a forum to contact developers. That example tag also makes me think it s something you should be able to change within the theme settings..

The problem is they are insisting its a plugin issue and not a theme issue. The developer created a them with some ideas I had, but they made it rely on a plugin for 90% of the functions lol. I disable the plugin and the site is worthless.

I've spent hours upon hours staying up late going over the php but i just cant pinpoint the issue :P In the long run, I guess its not too big of a deal. Just an eye sore.
 
The problem is they are insisting its a plugin issue and not a theme issue. The developer created a them with some ideas I had, but they made it rely on a plugin for 90% of the functions lol. I disable the plugin and the site is worthless.

I've spent hours upon hours staying up late going over the php but i just cant pinpoint the issue :p In the long run, I guess its not too big of a deal. Just an eye sore.

You did try with the correct code, I didn't figure out your problem initially.
If possible let me know the plugin name? I will check it out and revert back.
 
Back
Top