Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to remove the "page" bit from the URL when I use the previous_posts_link and next_posts_link. Right now, it looks like:

http://mywebsite.com/page/2

I want it to look like this:

http://mywebsite.com/2

How can I do it?

Thanks!

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

So yeah, got the tumbleweed badge :(. I ended up doing a 301 with the .htaccess, but If someone has a better idea please share it!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.