Redirect from site/?p=number to site/post.html
-
Hello everyone, I have every post available at two URLs https://site.info/?p=10506 and https://site.info/post.html
I thought there should be automatic redirection from pages of the type ?p=10506 to a URL that corresponds to the structure of permalinks. But no. How to fix it? Write a rule in .htaccess? But what should I write in the RewriteRule if I don’t know the name of a specific post?
As for permalinks, /%postname%.html is already configured thereThe blog I need help with is: (visible only to logged in users)
-
Hi there,
Apologies, but we can’t help with your issue directly because we don’t host reost.ru on our WordPress.com managed hosting.
To explain, we are a fully managed hosting provider and use a custom server environment that is optimized for WordPress, provides built-in security and performance improvements, as well as in-house support for your site questions.
Because of the way we’ve optimized our service, we also use a customized version of WordPress that is different (under the hood) from what you use at your current provider. As a result, we do not have access to your site and are not familiar with the source of your issue.
You definitely have the option to move your site to us so we can provide in-house help, but as it stands now, we cannot help since it is hosted elsewhere.
The good news is that help is available here at the open-source WordPress forums: https://wordpress.org/support/forum/how-to-and-troubleshooting
The folks in that forum are more familiar with these kinds of issues and are in the best position to help. Thanks!
- The topic ‘Redirect from site/?p=number to site/post.html’ is closed to new replies.