Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-2 votes
1 answer
46 views

Problem with .htaccess redirection to my API

I have a WordPress site in which I develop a plugin. Inside this plugin, I developed a API. In my local environment, my URL to access my site is http://localhost:81/site. I'd like requests made to ...
Marlon's user avatar
  • 1,817
-2 votes
0 answers
11 views

Wordpress - rewrite all traffic from a subfolder in a subfolder to subfolder [closed]

my problem is that this scenario wont work with my tries. Example www.test.de/subfolder/ is a valid wordpress site and rewrites to index.php www.test.de/subfolder/subfolder/ is not a valid wordpress ...
Stefan Damann's user avatar
-3 votes
0 answers
24 views

Bloqueio de PDFs no site Wordpress via Htaccess [closed]

Tenho o seguinte código: # Verificar se o arquivo solicitado é um PDF RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} \.pdf$ [NC] RewriteCond %{HTTP_COOKIE} !user_logged [NC] # ...
Michel Sena's user avatar
0 votes
0 answers
24 views

Htaccess for protecting gravity forms uploads

I have the following code to make sure that the gravity forms directory in the uploads folder and it's contents cannot be accessed by non-logged in users. <IfModule mod_rewrite.c> RewriteEngine ...
Ashtheslayer's user avatar
0 votes
0 answers
14 views

WordPress multisite redirect from Mainpage to Sub Page

I have a WordPress multisite setup. Now I want a redirect from the Main Page www.mypage.com to www.mypage.com/CH-DE. it should work with mypage.com, www.mypage.com, https://wwwmypage.com.
Penumbra's user avatar
  • 193
0 votes
1 answer
17 views

wordpress "Content is blocked", and all pages redirecting to a single page, including wp-admin and wp-login

Client's site completely broken today. Possibly when I added a txt file to the DNS area, in an attempt to link it to Google workspace. I have since deleted the txt file, but the site is still broken. ...
Paul Murphy's user avatar
0 votes
2 answers
1k views

Can't access WordPress admin panel after redirecting the site to a new domain

I'm no expert in Wordpress but have a fair amount of knowledge as I've used it for years. My problem is that I cannot access the admin panel for a specific site because it has been redirected to a ...
Brend 13_13's user avatar
0 votes
0 answers
14 views

How can I implement masking and forwarding of a url on Wordpress?

I'm trying to implement forward and masking of a url. I have a page hosted on vercel.com as mynewpage.vercel.app. The rest of my page are hosted on Wordpress on myotherpages.com. I want for when the ...
Latifah President's user avatar
-1 votes
1 answer
32 views

.htaccess redirect for URL with parameters does not work

In the following .htaccess, redirecting oldsite.com to newsite.com works fine. But I also want to redirect URLs with parameters from the old site and this does not work: <IfModule mod_rewrite.c> ...
PatInParis's user avatar
0 votes
0 answers
24 views

Wordpress: Allow file access to a custom role after restriction code in htaccess

I added this code in my .htaccess file of my site to deny access to .pdf files. I works fine. <FilesMatch "\.(pdf)$"> Order Allow,Deny Deny from all </FilesMatch> Now, logged '...
JPashs's user avatar
  • 13.6k
1 vote
0 answers
55 views

.htaccess to accept parameters in URL

I have a page in Wordpress with the following structure website.com.au/pre-registration/parameter-name/, where the parameter name was originally a GET parameter but I was requested to make it part of ...
Leonardo Pessatti's user avatar
1 vote
1 answer
12 views

htaccess regex redirection mantaining url structure

Im trying to do a redirection from domain/web/something to sub.domain/web/something, and only for /web/ but this code is redirecting all website Options +FollowSymlinks -MultiViews RewriteEngine on #...
Jota Javier Gonzalez Garcia's user avatar
0 votes
1 answer
20 views

htaccess rewriterule not working in wordpress?

I am trying to make my htaccess work to rewrite a few pages, like /programme content to be the same as the content from /wordpress/programme i've been trying to do this for a few hours but i cant get ...
dom mazette's user avatar
0 votes
0 answers
28 views

Request exceeded the limit of 10 internal

Issue I can not access wp-admin page. Example https://example.net → I can access it . https://example.net/wp-admin → I cannot access it . and output error Error from server log Request exceeded the ...
user17290563's user avatar
0 votes
0 answers
44 views

Redirect between domains on same IP, without changing the url in the adressbar

Situation: I have a wordpress website on my domain newpapa.br-workshop.purplepanda.be (staging) I have a few domains redirecting with a CNAME or A-records (like in this example: papatest.purplepanda....
Gert-Jan Feijens's user avatar

15 30 50 per page
1
2 3 4 5
439