Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

Trying to Find the PHP File/Function that Handles a Specific Form Action URL

The URL you are looking at does not exist in the filesystem, it's a WP rewrite rule. Ugly URLs look like this: index.php?queryvar=value Pretty URLs look like this: /my/pretty/permalinks But if your ...
Tom J Nowell's user avatar
  • 59.5k
0 votes

How to Update / Change URL when Popup Modal Loads?

You can use vanilla JavaScript instead of jQuery. document.getElementById('myModal').addEventListener('shown.bs.modal', function (e) { if (typeof (history.pushState) !== "undefined") { ...
Aman Singh's user avatar
1 vote

Redirect OLD/Path to NEWURL/Path

<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^olddomin\.com RewriteRule ^(.*)$ https://newdomain.com/$1 [R=301,L] </IfModule> This is what you're looking for, before ...
Chris Cox's user avatar
  • 1,300

Top 50 recent answers are included