Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Alan

    (@urbansurvivalsitecom)

    Incredibly, I finally found a way to fix it right after posting this. Simply open .htaccess and remove this:

    # BEGIN REMOVE SLUG CUSTOM POST TYPE RULES
    RewriteRule ^/(.+)/$ /$1 [R=301,L]
    RewriteRule ^reviews/(.+)/$ /$1 [R=301,L]
    # END REMOVE SLUG CUSTOM POST TYPE RULES

    Hopefully this will help anyone else who ran into the same problem. I’ll just have to find another way to remove the slug…

    Hi,

    I am using wp-property plugin on my website and also using another custom post type. After installing the wp-property plugin my permalinks for custom post type are not working now. It is getting redirected to 404 error page.

    If I deactivate the wp-property plugin it works fine.
    Please help. Thanks in advance.

    Alan: Unfortunately there seems to be a problem with your fix (which seems to be the only fix for this problem) and the Types plugin. I can remove these lines, but whenever I click “Add New” for my new custom content type the lines come back.

    Also, contrariwise, clicking “Add New” under my custom content type shows an error message that prompts me to remove these lines.

    Addendum: check out the discussion on this thread for more details on this problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Remove slug from custom post type] 404 and redirect loops!’ is closed to new replies.