H
H
hitakiri2015-12-19 17:39:35
PHP
hitakiri, 2015-12-19 17:39:35

How to enable-connect php script in Wordpress?

I will describe a situation:
There is a small script, on get to request opens archive.
now the request after RewriteEngine On looks like this:
mysite1.loc/cat/archive-name/1
to simplify the work on the site I want to use wp.
placed the script file in the root folder with wp and wrote the rules in .htaccess at the same time:
mysite2.loc/cat/archive-name/1 issues 301 redirects to mysite2.loc/cat/archive-name/
How can I get rid of intercepting wp get request and rob him?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew B., 2015-12-24
@hitakiri

Write an exception in the VI block for your script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question