This plugin can make(convert) the paths(URLs) to a relative instead of absolute. This plugin is useful for using relative URLs. The given below list of permalinks and src can be easily converted to a relative:
All the above permalinks and src can be converted to a relative instead of absolute by using this plugin. You can select the options from the plugin settings page.
If you want to exclude some Permalink or src to be relative then you can use paths_relative filter in your theme’s functions.php or in your custom plugin.
Your filter may look like this (Below filter would make the jquery.js Path to absolute):
function yasglobal_change_path( $link ) { if( $link == '/wp-includes/js/jquery/jquery.js?ver=1.12.4' ) { $link = site_url().'/wp-includes/js/jquery/jquery.js?ver=1.12.4'; } return $link; } add_filter( 'paths_relative', 'yasglobal_change_path' ); If you don’t want to Make the Paths relative for srcset(Responsive Images) then just add the below-mentioned line in your theme’s functions.php.
add_filter( 'srcset_paths_relative', '__return_false' );
If you want to make plugin works and all the paths relative without going to check/visit Settings Page so, just add this line in your theme’s functions.php.
add_filter( 'make_paths_relative_activate_all', '__return_true' );
The support from the users that love Make Paths Relative is huge. You can support Make Paths Relative future development and help to make it even better by giving a 5-star rating with a nice message to me 🙂
Bug reports for Make Paths Relative are welcomed on GitHub. Please note GitHub is not a support forum, and issues that aren’t properly qualified as bugs will be closed.
Starting from $0 per month.
Rating
Reviewers
15 reviews
Tags
Developed By
Sami Ahmed Siddiqui
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Use team members blobs to present your staff in a clear, creative format that builds trust, supports transparency, and strengthens brand credibility.
Capture email leads with an email subscription form that collects addresses, saves entries, sends notifications, and helps grow your audience.
Transform PDFs into interactive flipbooks with a PDF flipbook widget that improves reading and keeps visitors engaged.
Show AliExpress reviews to build trust, improve credibility, and help visitors make confident purchase decisions that support higher sales.
Showcase photos with an image gallery that displays pictures and captions in grids, improves design, and boosts visitor engagement.

Create consent forms that collect signatures, save submissions, send notifications, and help you manage approvals efficiently.
Create custom calculators that let visitors enter values, get results, and make confident choices that support your business.
Display social proof avatars that show user activity and ratings, build trust instantly, and help visitors feel confident about your credibility.
Use a coupon popup to highlight special offers, capture email leads, reduce cart abandonment, and turn more visitors into paying customers.
Show YouTube videos with a YouTube carousel that displays clips in a smooth, customizable layout to boost visibility and keep visitors engaged.
Add a floating corner pop-up to display updates or calls to action without disrupting the user experience or site flow.
Display clean code snippets with syntax highlighting to improve technical content and help developers scan examples quickly.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
