After web migration and new URL architecture, I need to redirect old URLs because I am getting lot of 404.
Old URL examples:
domain.com/blog/vse-o-produktech/395-vybaveni-a-doplnky-pro-vasi-pergolu
domain.com/blog/71-prave-realizujeme/464-kdo-nainstaloval-pergolu-dominiku-haskovi-jagr
New URL...
Hey guys!
I'm having a problem with the LiteSpeed Cache plugin, in the sense that it always... ok, maybe not always, but quite often it asks me to add / replace the code below (the code might be different sometimes, but in this particular case it's this one) in the .htaccess file:
# BEGIN...
I was using ads.txt long before it became the standard for publisher ids for site advertising.
So I have windows software that download ads.txt file from my server which is supposed to contain text ads. instead now it download ad publisher id entries.
Is there a way for example to use...
Hello,
I have this redirection code in htaccess file:
It redirects the given page perfectly, but if there's a number or letter after the slash, it won't work. Example: /c/system/8 doesn't redirect.
Can you please help me redirect /c/system/ with anything after the slash to /t/system?
Regards
Hi, i'm trying to create a powerfull .htaccess to improve security and speed, although server needs to run some modules in php. I will share you my final htaccess to recieve advice from people who have more knowlegde about it than me.
This has been happening for a day now. Can't think of any reason, since I haven't touched this site in two days. The home page of the site keeps redirecting to a file download. All other pages work just fine.
I've checked HTACCESS and there's nothing out of the ordinary. PHP versions in...
Hello Friends,
I have two websites lived
For example,
abc.com
xyz.com
Now I just want to redirect only one URL "https://abc.com/hello-world/" to "https://xyz.com/".
All pages are lives as it is. but just one URL redirects via .htaccess file.
Please help and tell me the .htaccess code...
I am not a technical nerd and never faced a problem like this ever before.
So, I kinds lost in here.
This is something I need to do and I need help from those who have coding knowledge and played with htaccess file before.
If i don't do this, i can't access my site at all which sucks due to ssl...
Hi BHW,
There is so much data around the subject, but still
What is the best set of rules/commands, do you prefer php?
I would appreciate your feedback.
Hello,
While i was doing an audit to my website SEO, i found out a warning for a page that is most of the time blank.
Basicaly, this page serves for storing articles for visitors who would like to read their favorite selections later.
This is the link: https://mydomain.com/?read-it-later
The...
hello all bhw member
i got some problem when using vps digital ocean
everything looks ok and the site can access after install apache2 but i have one problem
my htaccess file cannot be read in vps system
can somebody help me what wrong with that?
As the title says, i have the root directory that contains pages and i have another directory that it's called mobile.
I would like the pages that are inside the root directory to be all redirected to index.php in root, as for the mobile directory i want all the pages inside it to be redirected...
I am using cloudflare with a static page website. I am using htaccess redirect to move all traffic to https but this results in redirect loop. How to solve this?
My htaccess:
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST}...
I want to block referrals from a website and it's country level domains from visiting my website. - How can I do that from .htaccess?
for e.g: I wanna stop example.ru , example.dk, example.bd, example.in, example.nu and all example.** ...... to stop sending referrers to my website.
do you guys practice blocking all robots (except google, bing, yahoo) on your site using htaccess and see an improvement in ranking?
reason why i ask about serp improvements, because i know speed has a positive correlation on site ranking. and by blocking those nasty robots, I would assume...
An ahrefs report is telling me that a blatant PBN 302 redirects to a competitor's site.
At first I thought that the competitor might be using the PBN to rank, but if I look at the site as Googlebot I get the same site I see as any a default browser.
If I set my user agent to "AhrefsBot", I get...
I am using cloudflare Hotlink Protection but it is Block Images in Web cached version of Google.
So i have added below code in .htaccess file but it's not working.
Hot link Protection
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER}...
Hello,
Lets say i have a WordPress blog. and i have a post url there example.com/1. I want this url to redirect randomly on another urls when someone click. I.e.
If User X click first time on example.com/1 -------> Xyz.com
If User X click Second time on example.com/1-----> abc.com
.
.
.
.
N...
Have anyone else had to work with an old massive redirect list that's thousands of lines long?
Is there a tool/reliable way to grab the origin url and destination url from a bunch of rewriterule from htaccess and dump it into a spreadsheet?
or better yet, a tool that can identify and eliminate...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.