Importing redirects to other domains

Permalink Browser Info Environment
When bulk importing URLs, absolute URLs (to another domain) in the `To_URL` field is stripped of the domain and become relative, e.g.:

From_URL,To_URL,To_PageID,To_FileID,Response_Code
/redirect/me,https://example.com/resource/on/another/domain,0,0,301


becomes

/redirect/me → /resource/on/another/domain

Is there any way to prevent this from happening?

Type: Ticket
Status: Archived
Myq
View Replies:
afixia replied on at Permalink Reply
afixia
Hello Myq,

Sorry about the issue. I'll see if a patch for can be written tomorrow and get back to you.

Dave
Myq replied on at Permalink Reply 1 Attachment
Myq
Thanks, Dave.

There's also an unrelated issue, but I'm not sure it's caused by this add-on. Do you have any idea why the error in the attached screenshot would appear for one user but not the other when uploading the same file?
afixia replied on at Permalink Reply
afixia
Do you have the latest version of the plugin? We released an update for that issue a few weeks back. The reason we updated was because the mime type check relies on the browser and they deliver inconsistent results.
Myq replied on at Permalink Reply
Myq
It's possible that it's an older version. I'll try the update and hopefully it will fix both issues.
afixia replied on at Permalink Reply
afixia
The package has been updated so the TO_URL column won't get cut down to relative paths. Also, if you end up defining a Page ID or File ID, the TO_URL will be ignored. Hope this helps! Make sure to update to 1.1.2.
Myq replied on at Permalink Reply
Myq
Thank you so much for fixing this! I really appreciate it. I'll install it and try it out.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.1a2
Version Installed - 8.4.1a2
Database Version - 20180621222449

# concrete5 Packages
Afixia: SEO Redirects (1.1), ExchangeCore reCAPTCHA (1.1.1), Location Search (0.1), Magic Tabs (7.1.2), Migration Tool (0.8.6), Oauth2 Server (0.5), Page Selector Attribute (2.0)

# concrete5 Overrides
[redacted]

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
nginx/1.11.8

# Server API
fpm-fcgi

# PHP Version
7.1.1-1+deb.sury.org~xenial+1

# PHP Extensions
bcmath, blackfire, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, igbinary, imagick, imap, intl, json, libxml, mbstring, mcrypt, memcached, msgpack, mysqli, mysqlnd, newrelic, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 512M
post_max_size - 256M
sql.safe_mode - Off
upload_max_filesize - 256M
memcached.sess_lock_max_wait - not set
memcached.sess_lock_wait_max - 2000
memcached.sess_server_failure_limit - 0
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
newrelic.special.max_nesting_level - -1
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.