S
S
sashavol2015-10-20 01:55:52
htaccess
sashavol, 2015-10-20 01:55:52

Adding .php to a separate page?

Hello.
On WordPress, I want to limit the redirect to a separate page, it actually turned out to be a redirect, but it gives out a 404 page

RewriteRule ^catalog_02$ /catalog_02.php [R=301,L]

we add this page for sure .php displays a 404 page, a plugin is also installed that adds the .html format to all pages
Maybe the rule is not like that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Goryachev, 2015-10-20
@webirus

RewriteRule ^catalog_02$ /catalog_02.php [R=301,L]
Redirect and won't make a .php page for you, correctly throws an error.
But for a separate wordpressa page, it is unlikely to succeed. Although how to know.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question