• I am vreating a plugin to combine Open-Realty and WordPress. I am using WordPress as the CMS and blog. Everything is working fine until I hit the URL for the blog.
    I have the blog pages setup as page 99 and in the admin I heve Settings -> Reading ->
    front page = home and post page = webblog.
    Now I must say first I am not using the permalinks I am using the default. The link to my webblog page is page-8.html and i have RewriteRule page-([0-9]*).html ?page_id=$1 [L] im my .htaccess.
    Everything works great until I hit the page-8.html the URL is rewritten to page-8.html/
    Ive been on the forums searching and trying different methods including some plugins like the “smart trailing slash to no avail.
    I am sure it has to do with the rewrite in WP but nothing I do seems to work.
    Any Subbestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter alsmith

    (@alsmith)

    that is suggestions, (interesting ho getting your fingers off make a new word)

    I’d recommend that you do not use .html in your WordPress URLs, especially not with your own non-permalinks rewrites. If you are doing so in order to keep your search engine rankings and not break incoming links, then create 301 redirects from the old .html pages to the new WordPress pages instead.

    Thread Starter alsmith

    (@alsmith)

    not sure I follow. the real WP url is ?page_id=8
    see webblog link here https://www.wp-or.com
    If you select the linkor even type in page-8.html it rewrites to page-8.html/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘another trailing slash issue’ is closed to new replies.