skip to Main Content

RewriteRule passing url parts through as arguments not coming through to php script – Apache

I have a URL http://localhost/xxxx/cat/History?randomArg=2 that I want to run http://localhost/xxxx/cat/edit.php?name=History&randomArg=2 http://localhost/xxxx/cat.php?name=History&randomArg=2 (POST EDIT#2 Correction I did originally ask for edit.php but I meant cat.php) and I have a RewriteRule that works on my live server RewriteRule "^(.*)xxxx.*/cat/(.*)?(.*)$" $1/xxxx/cat.php?name=$2&t=123$3[QSA] and…

VIEW QUESTION

Installing moodle on Ubuntu

SO I'm trying to install Moodle using Ubuntu and I followed the instructions from https://www.linode.com/docs/guides/how-to-install-moodle-on-ubuntu-server-2004/ , but when I type localhost/moodle on my browser, it just displays the PHP code which I'll add. I should be displayed with the Moodle…

VIEW QUESTION

Exclude subdirectory from WordPress redirection

I'd like to redirect all visitors to my WordPress website except the translations available for pages in the /cy/ subdirectory: /cy/ so for example https://myoldomain.co.uk/cy/partners/ is not redirected but https://myoldomain.co.uk/partners/ https://myoldomain.co.uk/ are redirected. I have tried lots and this one…

VIEW QUESTION
Back To Top
Search