Title: Version 7.0.1
Last modified: December 11, 2023

---

# Version 7.0.1

 *  Resolved [qgotv](https://wordpress.org/support/users/qgotv/)
 * (@qgotv)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/version-7-0-1/)
 * Since the update to 7.0.1 this morning some of my permalinks are dropping the
   domain name but keeping the permalink structure which, of course, causes a ‘This
   site can’t be reached’ error. These pages and links worked before I up updated
   the plugin. Went to my staging site, checked it before I did the update. My links
   worked. I updated it and confirmed that now the links do not work. I want to 
   roll back the plugin version to 7.0.0 if possible until you can fix. Do you have
   a way of doing that? Please advise.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [astounding007](https://wordpress.org/support/users/astounding007/)
 * (@astounding007)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/version-7-0-1/#post-17270998)
 * Already reported to their support. I also submitted similar issue: [https://wordpress.org/support/topic/bug-with-button-in-new-7-0/](https://wordpress.org/support/topic/bug-with-button-in-new-7-0/)
 * Solution is to revert back to 5.13.3 which is the version right before 7.0 when
   they made the change that broke the permalinks. Then ensure, to click “Shortcodes
   Ultimate” in plugins, and choose it to NOT auto-update.
 *  [astounding007](https://wordpress.org/support/users/astounding007/)
 * (@astounding007)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/version-7-0-1/#post-17273228)
 * They won’t reverse back, as made permanent change for security. They said only
   way is to change all URLS to full URL. However this isn’t choice for some, as
   we have hundreds of links without full URL.
 * **SOLUTION:**
 * Since 7.0.1, a button/tab with URL “../page-here”, no longer returns user to 
   [https://site.com/course/page-here](https://site.com/course/page-here), but to“../
   page-here”.
 * To fix, copy below files from version 7.0.0:
 * 1) In: /public_html/wp-content/plugins/shortcodes-ultimate/includes/shortcodes/
   button.php
 * 2) In: /public_html/wp-content/plugins/shortcodes-ultimate/includes/shortcodes/
   members.php
 * 3) In: /public_html/wp-content/plugins/shortcodes-ultimate/includes/shortcodes/
   tabs.php
 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/version-7-0-1/#post-17273516)
 * I’m not sure this must be a part of the plugin, but I understand that some users
   may need this. If you want to use relative URLs, add the following snippet to
   the end of the `functions.php` file of your theme:
 *     ```wp-block-code
       add_filter('shortcode_atts_button', function ($out, $pairs, $atts, $shortcode) {
       	if (strpos($out['url'], '..') !== false) {
       		$path = rtrim($_SERVER['REQUEST_URI'], '/') . '/' . ltrim($out['url'], '/');
   
       		do {
       			$path = preg_replace('/[^\/]+\/\.\.\//', '', $path, 1, $count);
       		} while ($count);
   
       		$protocol = empty($_SERVER['HTTPS']) ? 'http' : 'https';
       		$url = "{$protocol}://{$_SERVER['HTTP_HOST']}{$path}";
   
       		$out['url'] = esc_url($url) === $url ? $url : $out['url'];
       	}
   
       	return $out;
       }, 10, 4);
       ```
   
 * This should turn your relative URLs into absolute ones automatically, like so:
 *     ```wp-block-code
       Page                 URL value  Result
       -------------------------------------------------------
       https://wp.org/      ../123/    https://wp.org/
       https://wp.org/abc/  ../123/    https://wp.org/123/
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Version 7.0.1’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Vova](https://wordpress.org/support/users/gn_themes/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/version-7-0-1/#post-17273516)
 * Status: resolved