• Hi everybody,
    Yesterday, I set friendly URL in a website I’m developing. For the permalinks I took an option of the kind: http://www.myweb.com/page-example/ I also made the apropriate changes to the .htaccess file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    After that, all the internal links for the different pages of the site work properly and the name of the page is shown at the browser’s bar but the problem is that after clicking on the entries page (blog), every page shows a message of “no matches found for your criteria” and you can read something of this kind at the browser’s bar: http://www.myweb.com/blog/page_id=6/
    It seems like the page I click on after “blog” were searched inside “blog” despite of being an independent page.
    Moreover, posts are shown like that at the browser’s bar: http://www.myweb.com/?p=50. The title of the entry is not shown.

    Anybody having the same problem? Could anybody help me? Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Can you replicate the problem using the default theme with all plugins deactivated?

    Thread Starter copernico

    (@copernico)

    Hi Esmi, thanks for your reply.
    As you suggested, I replicated the problem using the default theme (although with all plugins ACTIVATED) and the problem with permalinks dissapeared. Everything worked OK. So my theme is the problem, but I don’t kmow where could I begin to look for the issue inside my theme. Any suggestion?
    Thanks a lot!!

    What theme are you using? Where did you download it from?

    Thread Starter copernico

    (@copernico)

    I’m afraid that the theme was developed by me.

    Ah! That means you have no else to blame. 😉 On the bright side, it might be easier to figure out where the problem is because no one knows your theme like you do. From the description you gave earlier, it sounds like you aren’t using the_permalink() to generate your Post links. Or a filter that you’re running on the Post links is faulty.

    Are you processing or filtering the Post links pre-display at all?

    Thread Starter copernico

    (@copernico)

    Do you mean anything like this?: <h1 class="posttitle"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Issue with permalinks’ is closed to new replies.