Search the Community
Showing results for tags 'redirects'.
Found 4 results
ProcessWire .htaccess adding URL parameter to redirects
FireWire posted a topic in General SupportWe're launching a new version of our website and I need to create redirects from old pages to their new counterparts at different URLs. An example rule that I've created is Redirect 301 /solar-energy-for-business /solar-energy/commercial-solar/ However when I visit the redirected URL it shows up in the address bar as: https://staging.renovaenergy.com/solar-energy/commercial-solar/?it=solar-energy-for-business We're creating these redirects for SEO purposes and they need to not have additional URL parameters being added. This line in the .htaccess file is adding the original URL as a parameter. RewriteRule ^(.*)$ index.php?it=$1 [L,QSA] Does ProcessWire use this parameter for a purpose? What is the best way to create these redirects without this parameter?
redirect module and Facebook "fbclid" parameter
Jennifer Stock posted a topic in General SupportHi. I'm wondering if there is a way to add code to the Redirects module to strip the "?fbclid=" parameter from incoming links. My users have noticed that the redirect links they have established via the module are failing when used from Facebook, due to the new FB click tracking code.
Setting permission for page redirects
mucdev posted a topic in General SupportHi! I am new to processwire and really like working with it so far. For a relaunch project, some editors of our website need the permission to add redirect URLs while migrating the content. I already created a role "site-manager" so only a few team members have access to certain features. There is also the option to add redirect URLs in the page settings, but it seems to be restricted only to superusers. Does anyone know of a way to grant permission for this option to another user role? Since this is the first PW-Project I did not dive in too deep with the permissions yet. I also tried to add a "page-edit-redirect"-permission, but I am somehow stuck on what to do with it. Thanks
301 redirectHi there, I want to 301 redirect the following: http://www.example.com/folder-name1/ to http://www.example.com/folder-name1/index.php/folder-name2/ Is that possible with htaccess? Which code should I use Thanks in advance for your answers