Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Problem With Playlist On 2 Pages

wordpress youtube

  • Please log in to reply
14 replies to this topic

#1 Romain Nicolas

Romain Nicolas

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 09 February 2014 - 04:23 PM

Hello,

 

I'm using tubepress for Worpress, with theme Awake 2.3. my website is car-engineer.com

 

I included a playlist of about 60 videos, so it cannot hold on one page, then I have a button page 1, page 2 and NEXT. This looks OK to me.

 

The problem comes when I click on one of these buttons, it sends directly to the homepage of my website and not to the page two of my video playlist. When I right click on the page 2 button, it gives me http://car-engineer....bepress_page=2 

However, this page doesn't exist in my wordpress.

 

 

Any idea?

 

Thanks in advance



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 10 February 2014 - 06:59 PM

Hello Romain,

 

Could you please enable TubePress Debugging from WP Dashboard > Settings > TubePress > Advanced > Check the box next to "Enable TubePress Debugging" and the press the save button.

 

Please let us know once that has been done.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 Romain Nicolas

Romain Nicolas

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 11 February 2014 - 02:05 AM

It is done!



#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 12 February 2014 - 12:25 AM

Hi Romain,

 

I have asked one of our developers to take a look at this issue.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#5 Romain Nicolas

Romain Nicolas

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 23 February 2014 - 05:13 AM

Hello,

 

Any news about my issue? Thanks in advance



#6 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 27 February 2014 - 01:51 AM

Hi Romain,

 

It looks like something, most likely your .htaccess file, is causing the http://car-engineer....ubepress_page=2 URL to redirect to http://www.car-engineer.com.  If you are unable to find what is causing the redirection, you'll need to speak with your hosting provider.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#7 Romain Nicolas

Romain Nicolas

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 28 February 2014 - 04:55 PM

Hello,

 

Here is the content of my .htaccess file:

 

 

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
 
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
 
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
 
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]


#8 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 28 February 2014 - 05:26 PM

Hello,
 
Here is the content of my .htaccess file:
 
 
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
 
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
 
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
 
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]

 
Are you running a multisite install? If so, those rules are OK. If not, I would suggest replacing these rules with the ones that WordPress recommends:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

If you are indeed running a multisite installation, you'll need to look for other .htaccess files (there can be more than one) between the root WP directory and TubePress (i.e. wp-content/plugins/tubepress).



#9 Romain Nicolas

Romain Nicolas

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 28 February 2014 - 05:44 PM

Indeed, I'm multi site!.

 

I found 3 other htaccess;

 

On in the sitemap plugin containing this:

 

<Files *>
Order Allow,Deny
Deny from All
</Files>

Another one in mailpress plugin:

 

# BEGIN MailPress
RewriteEngine on
RewriteRule ^mail/analytics/([l|o])-([0-9]+)-([h|p])-([0-9a-zA-Z]+).html   wp-content/plugins/mailpress/mp-includes/action.php?tg=$1&mm=$2&co=$3&us=$4 [L]
# END MailPress

and in W3C total cache:

 

AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
    <IfModule mod_headers.c>
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
        AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
    <IfModule mod_mime.c>
        # DEFLATE by extension
        AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
</IfModule>
# END W3TC Browser Cache
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteRule .* - [E=W3TC_ENC:_gzip]
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} =""
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
    RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index.html%{ENV:W3TC_ENC}" -f
    RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index.html%{ENV:W3TC_ENC}" [L]
</IfModule>
# END W3TC Page Cache core
I think it could be the cache, but I don't get why...


#10 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 05 March 2014 - 03:17 AM

Hi Romain,

 

Out right, none of those three appear to be causing the redirect.  I would recommend speaking with your hosting provider for more assistance.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#11 Romain Nicolas

Romain Nicolas

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 05 March 2014 - 03:19 AM

OK,

 

I'll contact 1&1 and keep you posted to close the topic if they find a solution.



#12 Romain Nicolas

Romain Nicolas

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 10 March 2014 - 04:04 PM

Hey,

 

Here is the answer from 1&1:

 

"The url rewriting module present in your .htaccess makes that if some links are bad or unexisting, there is automatically a redirect to homepage.

You should first check or resynchronize the tree of your pages from your admin desk.

With this status, the host cannot do more to support you"

 

Nothing of a great help....



#13 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 10 March 2014 - 09:40 PM

Hi Romain,

 

Basically their response means that the .htaccess file is redirecting the page two of your tubepress results back to your homepage because the pages are dynamically created with each API call.

 

Easiest way to fix this is to remove the URL rewrite module from your htaccess file, however this will also allow bad and non-existent pages to get a 404 Not Found.

 

Let us know

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#14 Romain Nicolas

Romain Nicolas

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 11 March 2014 - 05:56 PM

hello,

 

i tried to remove the rewrite rules and conditions one by one. when I "comment" this one, RewriteRule ^index\.php$ - [L] , i get a error 404 on my video page (not even possible to check pagination.

 

I'm sorry, but i'm loosing faith. Anyway thank you very much for the support you brought:



#15 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 12 March 2014 - 02:20 AM

Romain,

 

I'm sorry to hear that you are having so much difficult. Please know that this particular issue you are experiencing is not because of Tubepress, but is because of the rules within your .htaccess.

 

Perhaps you can work with whomever created the plugin you use to write your .htaccess file to assist you to allow tubepress to dynamically generate your galleries. Another option is to try out TubePress Express, which doesn't do any loading on your site, you simply add an iframe wherever you want Tubepress to display.

 

Let us know.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!