php
Rewrite single page url in Wordpress with .htaccess
I have a page in Wordpress that is a child of a parent page. Its url comes up thusly: www.domain.com/parent/subpage/ There are about five other subpages of the parent. However, for the one specific subpage, I want to change the URL to show up under root, like this: www.domain.com/subpage/ Is there any way of doing this with .htaccess, or with a plugin? I can't figure out how to accomplish this.
You can redirect this single page with just Redirect /parent/subpage/ http://www.domain.com/subpage/ See Redirect Directive for more information.
Related Links
PDO select all function [duplicate]
Sanitize custom checkout fields data in WooCommerce
Create validation rule which can stop other checks in laravel 5.3
Data is not being inserted by the following query
PHP MAMP fsockopen fails if no IPv6 DNS entry is available
how to pass variables from controller to controller in prestashop?
Uploading a file in PHP won´t work
User Permissions using Slim 3 and Eloquent
Improving summing algorithm for 2048 game developed with PHP
How to add progressbar to downloading file?
Wordpress Upload media isuue Fatal error: Maximum function nesting level of '256' reached
Laravel route “air” gives me permission error on new installed laravel. but other routes are OK
The requested package barryvdh/laravel-dompdf could not be found in any version
how to show breaks, newlines between the words as we write in database? [duplicate]
PHP responding before image is created
PHP salt generation is not showing up properly in DB?