Htaccess rewrite rule


I want my server to read this page "[login to view URL]" against the URL "[login to view URL]"

I have tried this htaccess rule

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_URI} ^/myapp\.php$

RewriteCond %{QUERY_STRING} ^p=11

RewriteRule ^(.*)$ [login to view URL] [QSD,R=301,L]

it redirect to new URL but server says page not found on this server with 404 error.

Can you please help me to rewrite the rule so server can serve the page "[login to view URL]" against the URL "[login to view URL]"

My current htaccess is as follows

<IfModule mod_headers.c>

Header always append X-Frame-Options ALLOWALL


<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{HTTPS} !=on

RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]

Header always set Content-Security-Policy "upgrade-insecure-requests;"


Anyone can help me please?

Skills: PHP, Linux, Apache, MySQL, Web Security

See more: htaccess rewrite rule, htaccess rewrite dont work plesk, htaccess rewrite html, phplinkdirectory htaccess rewrite, htaccess rewrite photo folder outside subfolder, want read journals language ruman, htaccess rewrite url wildcard, lighttpd rewrite rule, htaccess rewrite rules creator, htaccess rewrite rule jpg php, rewrite rule htaccess example forward, rewrite rule htaccess jpg, htaccess rewrite rule ajax function, htaccess to nginx rewrite rule, htaccess test rewrite rule, htaccess rewrite rule not working, htaccess rewrite rule generator, htaccess rewrite rule syntax

About the Employer:
( 0 reviews ) Layyah, Pakistan

Project ID: #32253870

Awarded to:


Hello, I can help you to write this htaccess rule. I am an experienced full-stack developer and have expertise in e-commerce development (WooCommerce, OpenCart, Magento) and custom e-Commerce Applications on Lavavel More

$20 USD in 1 day
(0 Reviews)

4 freelancers are bidding on average $20 for this job


Hi There, ✅ TOP Rated Plus specialist ✅ Only 5-star reviews ⭐⭐⭐⭐⭐ I am the PERFECT contractor for your web development needs! I specialize in Front-End and Back-End web development, ranging from small task to huge, hi More

$20 USD in 1 day
(275 Reviews)

I can help with this url rewrite already done many ht access configurations can start now after hire. Thanks

$20 USD in 1 day
(7 Reviews)

Hi. This task cannot be solved through .htaccess. Here you need to use URL routing. What CMS is your site running on?

$20 USD in 7 days
(0 Reviews)